package com.yunfeisoft.business.service.impl;

import com.applet.base.BaseServiceImpl;
import com.yunfeisoft.business.dao.inter.SmsFlashPromotionLogDao;
import com.yunfeisoft.business.model.SmsFlashPromotionLog;
import com.yunfeisoft.business.service.inter.SmsFlashPromotionLogService;
import com.applet.sql.separation.DataSourceChange;
import com.applet.utils.Page;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * ClassName: SmsFlashPromotionLogServiceImpl
 * Description: 限时购通知记录service实现
 * Author: Jackie liu
 * Date: 2020-06-02
 */
@Service("smsFlashPromotionLogService")
public class SmsFlashPromotionLogServiceImpl extends BaseServiceImpl<SmsFlashPromotionLog, String, SmsFlashPromotionLogDao> implements SmsFlashPromotionLogService {

    @Override
    @DataSourceChange(slave = true)
    public Page<SmsFlashPromotionLog> queryPage(Map<String, Object> params) {
        return getDao().queryPage(params);
    }
}